package com.literaryfamily.literaryfamily.dao;

import com.literaryfamily.literaryfamily.entity.BookComments;
import com.literaryfamily.literaryfamily.entity.BookCommentsExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface BookCommentsMapper {
    long countByExample(BookCommentsExample example);

    int deleteByExample(BookCommentsExample example);

    int deleteByPrimaryKey(Long id);

    int insert(BookComments row);

    int insertSelective(BookComments row);

    List<BookComments> selectByExampleWithBLOBs(BookCommentsExample example);

    List<BookComments> selectByExample(BookCommentsExample example);

    BookComments selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("row") BookComments row, @Param("example") BookCommentsExample example);

    int updateByExampleWithBLOBs(@Param("row") BookComments row, @Param("example") BookCommentsExample example);

    int updateByExample(@Param("row") BookComments row, @Param("example") BookCommentsExample example);

    int updateByPrimaryKeySelective(BookComments row);

    int updateByPrimaryKeyWithBLOBs(BookComments row);

    int updateByPrimaryKey(BookComments row);
}